package com.unittec.zk.provider.work.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.unittec.zk.provider.work.entity.CarApplication;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface CarApplicationMapper extends BaseMapper<CarApplication> {
    List<Map<String, Object>> selectUser(@Param("name") String name);

    IPage<Map<String, Object>> getApplicationPage(Page<Object> page,@Param("ew") LambdaQueryWrapper<CarApplication> qw);
}